<div class="col-md-4">
    <form action="{:U('good/saveGood')}" method="post">
    <table class="table table-bordered table-striped table-hover table-condensed table-responsive">
        <tr>
            <td>编号</td>
            <td>
                <input type="text" name="id" readonly="readonly" value="{$singleGood_list['id']}">
            </td>
        </tr>
        <tr>
            <td>套餐类型</td>
            <td>
                <select name="class">
                    <if condition="$singleGood_list['class'] eq 1">
                        <option value="1" selected="selected">普通套餐</option>
                        <option value="2">体验套餐</option>
                        <else/>
                        <option value="1">普通套餐</option>
                        <option value="2" selected="selected">体验套餐</option>
                    </if>
                </select>
            </td>
        </tr>
        <tr>
            <td>套餐名称</td>
            <td><input type="text" name="name" value="{$singleGood_list['name']}"></td>
        </tr>
        <tr>
            <td>套餐费用</td>
            <td><input type="text" name="price" value="{$singleGood_list['price']}"></td>
        </tr>
        <tr>
            <td>优惠1</td>
            <td><input type="text" name="nice1" value="{$singleGood_list['nice1']}"></td>
        </tr>
        <tr>
            <td>优惠2</td>
            <td><input type="text" name="nice2" value="{$singleGood_list['nice2']}"></td>
        </tr>
        <tr>
            <td>激活状态</td>
            <td>
                <if condition="$singleGood_list['status'] eq 1">
                启用<input type="radio" checked="checked" name="status" value="1">
                禁用<input type="radio" name="status" value="0">
                    <else/>
                    启用<input type="radio" name="status" value="1">
                    禁用<input type="radio" checked="checked" name="status" value="0">
                </if>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <input type="submit" class="btn btn-success" value="提交">
                <a href="/admin.php/good/index" class="btn btn-success">返回</a>
            </td>
        </tr>
    </table>
    </form>
</div>